package cemetery.dao.impl;

import cemetery.bean.customer;
import cemetery.dao.BaseDao;
import cemetery.dao.CustomerDao;

public class CustomerDaoImpl extends BaseDao implements CustomerDao{

	@Override
	public int update(customer cust) {
		String psql="update customer  set `burial`=? where name=?";
		Object []params= {cust.getBurial(),cust.getName()};
		int count=executeUpdate(psql, params);
		return count;
	}

}
